<template>
  <div class="item-block item-block2" v-if="order_verify_log && order_verify_log.length>0">
    <div class="title">核销记录</div>
      <div class="order-verify-log" v-for="(item,index) in order_verify_log" :key="index">
        <div class="line-con">
          <div class="label">核销时间</div>
          <div class="line-detail">{{item.input_time}}</div>
        </div>
        <div class="line-con">
          <div class="label">核销商品</div>
          <div class="line-detail" v-html="item.item_name"></div>
        </div>
        <div class="line-con">
          <div class="label">核销数量</div>
          <div class="line-detail">{{item.verify_num}}</div>
        </div>
        <div class="line-con">
          <div class="label">剩余数量</div>
          <div class="line-detail">{{item.surplus_num}}</div>
        </div>
        <div class="line-con" v-if="item.handle_user_id && item.handle_user_id > 0">
          <div class="label">核销人</div>
          <div class="line-detail">ID：{{item.handle_user_id}}/昵称：{{item.handle_user_name}}</div>
        </div>
      </div>
    <!-- </div> -->
  </div>
</template>

<script>
export default {
  props: {
    order_verify_log: {
      type: Array,
      default: () => {
        return []
      }
    }
  }
}
</script>

<style lang="scss">
@import "src/styles/order/detail";
</style>